package com.edu.app.service.sys.core;


import com.edu.app.bean.core.SysContract;
import com.edu.app.model.customer.ContractModel;
import com.edu.app.service.sys.BaseService;
import com.github.pagehelper.PageInfo;


import java.util.List;

public interface SysContractService extends BaseService<SysContract> {
    List<SysContract> GetContractByCustomerId(Integer id);
    Integer deleteContractByCustomerId(Integer id);
    List<ContractModel> getContractModelByCusId(Integer id);
    ContractModel getContractModelByModelId(Integer id);
    PageInfo getContractModelByCusIdAndPages(Integer id, Integer currentPage, Integer pageSize);
}
